package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer u_id;

    private String u_name;
    private String u_password;
    private String u_phone_number;
    private String u_bio;
    private Boolean u_is_admin;
    private Double u_balance;
}
